<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="app" uri="/WEB-INF/tld/app.tld" %>
<%@ taglib prefix="ct" uri="/WEB-INF/tld/commonTag.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="/WEB-INF/jsp/common/common_header.jsp" %>
<%@ include file="/WEB-INF/jsp/common/common.jsp" %>


	<script language="javascript">
	// 검색 버튼 클릭
	function funcDetail(store_code) {
		width = 800;
		height = 600;
	    x = (screen.width) ? (screen.width-width)/2 : 0;
	    y = (screen.height) ? (screen.height-height)/2 : 0;
	    var popUrl = 'popCreditStoreDetailInfo.do?store_code='+store_code;
		var win = window.open(popUrl,'popCreditStoreDetailInfo', 'left=' + x + ',top=' + y + ',width=' + width + ',height=' + height + ',scrollbars=no,status=no,menubar=no');
		win.focus();
	}

    // 검색 버튼 클릭
    function funcSearch() {
        if(checkSpecialRemove(document.form.searchValue.value) == false){
            return false;
        }   

        var searchStRegDt = document.getElementById('searchStRegDt').value.replace(/-/gi,"");
        var searchEdRegDt = document.getElementById('searchEdRegDt').value.replace(/-/gi,"");

        if(searchStRegDt > searchEdRegDt){ 
            alert("시작일이 종료일보다 큽니다.");
            return false;
        }
        
        var fm  = document.form;
        $("#page").val(1);
        fm.action = 'popShoppingCatalogList.do';
        fm.submit();
    }
    
    // 엑셀다운
    function funcExcel(excelType){
        $("#excelType").val(excelType);
        document.form.action = 'findShoppingSpcExcel.omp';
        document.form.submit(); 
    }

	</script>
</head>
<body>
<div class="con_area" style="width: 800px">
<form id="form" name="form" action="" >
<br><br>
<table cellpadding="0" cellspacing="0" border="0" width="90%">
    <tr>
        <td align="left"><h2 class="tit">가맹점정보 상세조회</h2></td>
        <td align="right"><span>가맹점 관리 > <b> 가맹점정보 상세조회  </b></span></td>
    </tr>
</table>
<br>
<br>
<br>
<table cellpadding="0" cellspacing="0" border="0" width="90%">
    <tr>
        <td align="left"><h2 class="tit">※ 가맹점정보 </h2></td>
    </tr>
</table>
<br>
    <div style="margin-top:7px"/>
        <table cellpadding="0" cellspacing="0" border="0" class="data_table_01" width="80%">
            <tr>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊가맹점명</td>
                <td class="data_02">${model.storeName}[${model.storeCode}]</td>
                <td class="data_01" style='width:200px; text-align:left;'>&nbsp;＊사업자 등록번호</td>
                <td class="data_02">${model.bizCode}</td>
            </tr>        
            <tr>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊전화번호</td>
                <td class="data_02">${model.comPhoneNum}</td>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊팩스번호</td>
                <td class="data_02">${model.comFaxNum}</td>
            </tr>
            <tr>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊우편번호</td>
                <td class="data_02">${model.postcode}</td>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊주소</td>
                <td class="data_02">${model.jibun_address}&nbsp;&nbsp;${model.jibun_details}</td>
            </tr>        
            <tr>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊서비스</td>
                <td class="data_02">${model.service}</td>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊업종</td>
                <td class="data_02">${model.classification}</td>
            </tr>            
        </table>        
	
<br>
<br>
<table cellpadding="0" cellspacing="0" border="0" width="90%">
    <tr>
        <td align="left"><h2 class="tit">※ 카드사 수수료 정보( <font color="red"> 체크카드일 경우 1.3% 적용</font> ) </h2></td>
    </tr>
</table>
<br>
    <table cellpadding="0" cellspacing="1" border="0" class="data_table_01" style="width:90%" >
    <colgroup>
        <col width="50%" />
        <col width="50%" />
    </colgroup>
    <thead>
        <tr>
            <td class=data_01 style='width:350px; text-align:center;'>카드사</td>
            <td class=data_01 style='width:350px; text-align:center;'>카드수수료율</td>
        </tr>
    </thead>
    <tbody>
	    <c:forEach var="vo" items="${commonCodeList}">
		    <tr>
		        <td style="text-align:center;">${vo.cd_nm}</td>
		        <td style="text-align:center;">${vo.cd_desc}</td>
		    </tr>
		</c:forEach>
	 </tbody>   	
	</table> 
<br>
<br>
<table cellpadding="0" cellspacing="0" border="0" width="90%">
    <tr>
        <td align="left"><h2 class="tit">※ 대표자 개인정보 </h2></td>
    </tr>
</table>
<br>

        <table cellpadding="0" cellspacing="0" border="0" class="data_table_01" width="80%">
            <tr>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊대표자 명</td>
                <td class="data_02" colspan="3">${model.comCeo}</td>
            </tr>        
            <tr>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊대표자 우편번호</td>
                <td class="data_02">${model.postcode}</td>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊대표자 주소</td>
                <td class="data_02">${model.jibun_address}&nbsp;&nbsp;${model.jibun_details}</td>
            </tr>
            <tr>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊대표자 전화번호</td>
                <td class="data_02">${model.comPhoneNum}</td>
                <td class="data_01" style='width:250px; text-align:left;'>&nbsp;＊대표자 핸드폰</td>
                <td class="data_02">${model.comCeoPhoneNum}</td>
            </tr>        
        </table>   
</form>
</div>
<br><br>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
        <td align="center"><input type="button" class="button_63_01" value="닫기" style="width:65px; align=center" onclick="window.close();"/></td>
    </tr>
</table>
 
</body>
